package com.sl.biz.modular.process.service;


import com.sl.biz.modular.process.controller.request.ProcessRelationConfigSaveRequest;
import com.sl.biz.modular.process.controller.request.ProcessRelationConfigUpdateParamByIdRequest;
import com.sl.biz.modular.process.controller.request.ProcessRelationConfigVersionListRequest;
import com.sl.biz.modular.process.controller.response.ProcessRelationVersionListVO;
import com.sl.biz.modular.process.dao.domain.entity.ProcessRelationConfigDO;

import java.util.List;

public interface ProcessRelationConfigBizService {
    Boolean save(ProcessRelationConfigSaveRequest processRelationConfigSaveRequest);

    Boolean remoteById(String id);

    Boolean updateParamsById(ProcessRelationConfigUpdateParamByIdRequest updateParamByIdRequest);

    List<ProcessRelationVersionListVO> versionList(ProcessRelationConfigVersionListRequest versionListRequest);

    List<ProcessRelationConfigDO> queryByBizIdAndBizType(String jobId, String bizType);

    List<ProcessRelationVersionListVO> processAndVersionList(String bizId, String bizType);

    Boolean removeByBizAndAndBizType(String bizId, String bizType);
}
